/*
 * @Author: curse-the-west m18811101669@163.com
 * @Date: 2022-09-20 08:47:44
 * @LastEditors: curse-the-west m18811101669@163.com
 * @LastEditTime: 2022-09-20 08:49:43
 * @FilePath: /dome_vue/src/i18n/index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createI18n } from 'vue-i18n'
import zh from './zh'
import en from './en'

const messages = {
    en,
    zh,
}
const i18n = createI18n({
    locale: 'zh', // 首先从缓存里拿，没有的话就用浏览器语言，
    messages,
})

export default i18n